<template>
	<view class="tab-item">{{ text }}</view>
</template>

<script>
	export default {
		name:"Tab",
		props: {
			text: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style>
.tab-item {
	display: flex;
	height: 100rpx;
	padding: 0 20rpx;
	font-size: 28rpx;
	align-items: center;
	background-color: #fff;
	margin-top: 20rpx;
	box-sizing: border-box;
}
.tab-item:active {
	background-color: #e1e3ea;
}
</style>
